package uk.co.benbrown.jvis.model;

public class MatchResult
{
	private int teamANumberOfSets;
	private int teamBNumberOfSets;
	private int[] teamASetScores;
	private int[] teamBSetScores;
	private int[] setTimes;
	
	public MatchResult()
	{
		this.teamASetScores = new int[5];
		this.teamBSetScores = new int[5];;
		this.setTimes = new int[5];;
	}

	public int[] getSetTimes()
	{
		return setTimes;
	}

	public void setSetTimes( int[] setTimes )
	{
		this.setTimes = setTimes;
	}
	
	public void setSetTime( int setTime, int set )
	{
		this.setTimes[set] = setTime;
	}

	public int getTeamANumberOfSets()
	{
		return teamANumberOfSets;
	}

	public void setTeamANumberOfSets( int teamANumberOfSets )
	{
		this.teamANumberOfSets = teamANumberOfSets;
	}

	public int[] getTeamASetScores()
	{
		return teamASetScores;
	}

	public void setTeamASetScores( int[] teamASetScores )
	{
		this.teamASetScores = teamASetScores;
	}
	
	public void setTeamASetScore( int setScore, int set )
	{
		this.teamASetScores[set] = setScore;
	}

	public int getTeamBNumberOfSets()
	{
		return teamBNumberOfSets;
	}

	public void setTeamBNumberOfSets( int teamBNumberOfSets )
	{
		this.teamBNumberOfSets = teamBNumberOfSets;
	}

	public int[] getTeamBSetScores()
	{
		return teamBSetScores;
	}

	public void setTeamBSetScores( int[] teamBSetScores )
	{
		this.teamBSetScores = teamBSetScores;
	}
	
	public void setTeamBSetScore( int setScore, int set )
	{
		this.teamBSetScores[set] = setScore;
	}
	
	
	
}
